﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using rock.DAL;

namespace rock.BLL
{
    class BllCommonUtil
    {
        /// <summary>
        /// 是否存在该记录
        /// </summary>
        public static bool Exists(String sql)
        {
            StringBuilder strSql = new StringBuilder();
            strSql.Append(sql);
            SqlParameter[] parameters = { };
            return DbHelperSQL.Exists(strSql.ToString(), parameters);
        }

    }
}
